package com.qf.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 用户实体类
 * @Author z
 */
@Data
@ApiModel(value="用户实体类", description="请求参数类或者是返回值" )
public class User {

    @ApiModelProperty(value = "主键id", example = "11111")
    private Long id;

    @ApiModelProperty(value = "姓名", example = "张三")
    private String name;

    @ApiModelProperty(value = "年龄", example = "25")
    private Integer age;

    @ApiModelProperty(value = "生日", example = "2021-11-04T13:46:56.711Z")
    private Date birthday;

    @ApiModelProperty(value = "性别", example = "男,女")
    private String sex;

    @ApiModelProperty(value = "是否婚配", example = "true, false")
    private Boolean isMarry;

    @ApiModelProperty(value = "描述信息")
    private String desc;
}
